package cn.josewu.util;

import org.apache.commons.lang3.time.FastDateFormat;

/**
 * @program: covid19
 * @description: 时间工具类
 * @author: Mr. Tigger
 * @create 2020-11-08 21:59
 **/
public abstract class TimeUtils {
    public static String  format(Long timestamp,String pattern){
        return FastDateFormat.getInstance(pattern).format(timestamp);
    }
}
